home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 41 / CD Expert nº 41.iso / DReign2 / DR2Demo.exe / data1.cab / Files / missions / demo / Demo Mission 2.zwp / objective_spawn_stop_ravine.cfg < prev    next >
Encoding:
Text File  |  2000-09-01  |  1.2 KB  |  70 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 1997-99 Pandemic Studios
  4. //
  5. // Dark Reign II
  6. //
  7.  
  8. CreateObjectType("objective_stop_ravine", "Objective")
  9. {
  10.   GameObj();
  11.   ObjectiveObj()
  12.   {
  13.     Condition("InRegion")
  14.     {
  15.       Region("ThroughRavine");
  16.       Team("JDA");
  17.       Type("*")
  18.       {
  19.         Amount(0);
  20.         Operator(">");
  21.       }
  22.     }
  23.     Action()
  24.     {
  25.       GameMessage()
  26.       {
  27.        Message("msg_stop_ravine");
  28.       }
  29.     }
  30.   }
  31. }
  32.  
  33. CreateObjectType("objective_spawn_stop_ravine2", "Objective")
  34. {
  35.   GameObj();
  36.   ObjectiveObj()
  37.   {
  38.     Condition("AND")
  39.     {
  40.      Condition("InRegion")
  41.      {
  42.        Region("ThroughRavine");
  43.        Team("JDA");
  44.        Type("*")
  45.        {
  46.          Amount(0);
  47.          Operator(">");
  48.        }
  49.      }
  50.      Condition("Timer")
  51.      {
  52.        Time(15);
  53.      }
  54.     }
  55.     Action()
  56.     {
  57.       ExecuteScript("stopravine2*", "squad.move.spawntotrail.repeating")
  58.       {
  59.         Op("%.types", "=", "reinforcements3");
  60.         Op("%.region", "=", "StopRavine");
  61.         Op("%.trail", "=", "StopRavine");
  62.  
  63.         // Op("%.formation", "=", "Box");
  64.         // Op("%.direction", "=", 0.0);
  65.       }
  66.     }
  67.   }
  68. }
  69.  
  70.